package org.ysu.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import org.ysu.entity.Clue;
import com.baomidou.mybatisplus.extension.service.IService;
import org.ysu.entity.Role;

import java.util.List;

/**
 * <p>
 * 线索表 服务类
 * </p>
 *
 * @author CaoYuJia
 * @since 2024-08-20
 */
public interface ClueService extends IService<Clue> {
    IPage<Clue>list (Integer pageNo,Integer pageSize,Long rId);

    boolean add(Long ccId,Long fId,String province,String city,String county,String township,String village,Boolean riskMan,Boolean riskSubstance,Boolean riskNature,Boolean riskFinance,Boolean riskSocial,Integer riskLevel,String riskRemark,Boolean verify,Long rId);

    boolean update(Long id, Long ccId, Long fId, String province, String city, String county, String township, String village, Boolean riskMan, Boolean riskSubstance, Boolean riskNature, Boolean riskFinance, Boolean riskSocial, Integer riskLevel, String riskRemark, Boolean verify,Long rId);

    boolean del(Long id,Boolean valid);

    boolean verify(Long id,Boolean verify,Boolean valid);

    boolean check(Long id, Long fId);

    List<String> getNameByClueId(Long clueId);

    IPage<Clue>recordList (Integer pageNo,Integer pageSize, Long verifierId);
}
